package com.company.作业;

public class Bird extends Animal implements IFlyable{
    @Override
public void TakeOff() {
    System.out.println("起飞");
}

    @Override
    public void Fly() {
        System.out.println("用翅膀飞行");
    }

    @Override
    public void Land() {
        System.out.println("双脚落地");
    }
    public void LayEggs(){
        System.out.println("下蛋");
    }
    public void Eat(){
        System.out.println("吃虫");
    }
}
